package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.pojo.Setmeal;

import java.util.List;

public interface ISetmealService extends IService<Setmeal> {

    boolean saveWithDish(SetmealDto setmealDto);

    /**
     * 删除套餐，同时需要删除套餐和菜品的关联数据
     * @param ids
     * @return
     */
    public boolean removeWithDish(List<Long> ids);


    boolean updateWithDish(SetmealDto setmealDto);
}

